package com.yx.xf.Xflaw.ui;

import java.sql.ResultSet;
import java.sql.SQLException;

public   class  XflawRowMapper implements org.springframework.jdbc.core.RowMapper {

 
    public Object mapRow(ResultSet rs, int arg1) throws SQLException  {
        Xflaw model=new Xflaw();
        model.setAddcomp(rs.getString("addcomp")) ;
        model.setAdder(rs.getString("adder")) ;
        model.setDowntimes(rs.getInt("downtimes")) ;
        model.setFiletime(rs.getString("filetime")) ;
        model.setFiletype(rs.getString("filetype")) ;
        model.setIstop(rs.getInt("istop")) ;
        model.setLawfileid(rs.getString("lawfileid")) ;
        model.setLawfilename(rs.getString("lawfilename")) ;
        model.setLawid(rs.getInt("lawid")) ;
        model.setMemo(rs.getString("memo")) ;
        model.setMemo1(rs.getString("memo1")) ;
        model.setMemo2(rs.getString("memo2")) ;
        model.setMemo3(rs.getString("memo3")) ;
        model.setMemo4(rs.getString("memo4")) ;
        return model;
    }
}
